exception chaining meaning in Chinese
异常链接
Examples
- The implementation of exception chaining in jdks 1 . 4 and later mitigates this problem somewhat
(在jdk 1 . 4以及后来的版本中,异常链的实现在某种程度上缓解了该问题。 - Exception when it cannot find a resource generally using exception chaining to preserve the underlying cause , rather than the lower - level
异常(通常使用异常链来保存隐含的原因) ,而不是更底层的 - Another variation on this lesson would be to log the original exceptions for an older framework like struts that didn t use exception chaining , so you can see the underlying causes of failures
本课程的另一个变体是记录不使用异常链的旧框架(比如struts )的原始异常,这样就可以查看失败的底层原因。 - Exception chaining can be used to throw a more appropriate exception without throwing away the details such as the stack trace of the underlying failure , allowing abstract layers to insulate the layers above them from the details of the layers below them while preserving information that might be useful for debugging
异常链可以用于抛出一个更为合适的异常而不用丢弃关于底层失败的细节(例如栈跟踪) ,允许抽象层将位于它们之上的分层同位于它们之下的分层的细节隔离开来,同时保留对于调试可能有用的信息。